package com.itheima.reggie.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

// 购物车(ShoppingCart)表实体类

@Data
public class ShoppingCart extends Model<ShoppingCart> {
    //主键
    private Long id;
    //名称
    private String name;
    //图片
    private String image;
    //主键
    private Long userId;
    //菜品id
    private Long dishId;
    //套餐id
    private Long setmealId;
    //口味
    private String dishFlavor;
    //数量
    private Integer number;
    //金额
    private BigDecimal amount;
    //创建时间

    private LocalDateTime createTime;

    }

